package com.czy.daishusys.global;


/**
 * Created by wangyang on 2017/11/12 0010.
 */
public class Constants {

    public static final String APP_PREF = "czy_sys";
    /*数据库相关配置*/
    public static final int APP_DB_VERSION = 9;
    public static final String DB_NAME = "czy_sys.db";
    public static final String SHARED_PREFERENCES_FILE_NAME = APP_PREF + "_sp_file";
//    public static final String APP_API_BASE = "http://118.178.188.69";//公网服务器接口192.168.1.176
    public static final String APP_API_BASE = "http://dev.daishucgj.com";//测试服务器接口
//        public static final String APP_API_BASE = "http://api.daishucgj.com";//公网服务器接口
//    public static final String APP_API_BASE = "http://192.168.1.57:8080";//余超测试临时

    public static final String OWN_ADDRESS_BOOK = "/own/addressBook";                               //车主通讯录

    public static final int PAGE_SIZE = 10;//分页每页条目


    public static final String SHARED_PREFERENCES_KEY_AUTH_KEY_STORAGE = SHARED_PREFERENCES_FILE_NAME + "_auth_key";
    public static final String SHARED_PREFERENCES_KEY_SESSION_INFO_MODEL = SHARED_PREFERENCES_FILE_NAME + "_session_info_model";
    public static final String SHARED_PREFERENCES_KEY_USER_INFO_MODEL = SHARED_PREFERENCES_FILE_NAME + "_user_info_model";
    public static final String SHARED_PREFERENCES_KEY_ADMIN_INFO_MODEL = SHARED_PREFERENCES_FILE_NAME + "_admin_info_model";
    public static final String SHARED_PREFERENCES_KEY_OWNER_INFO_MODEL = SHARED_PREFERENCES_FILE_NAME + "_owner_info_model";
    public static final String SHARED_PREFERENCES_KEY_CHAIN_STORES_MODEL = SHARED_PREFERENCES_FILE_NAME + "_chain_stores_model";
    public static final String SHARED_PREFERENCES_KEY_BINDSTOREID = SHARED_PREFERENCES_FILE_NAME + "_bindStoreId";
    public static final String SHARED_PREFERENCES_KEY_DEVICEID = SHARED_PREFERENCES_FILE_NAME + "_deviceID";

    /*sharedPreferences KEY*/
    public static final String SHARED_PREFERENCES_KEY_IS_NOTICE_MESSAGE = SHARED_PREFERENCES_FILE_NAME + "_block_message";
    public static final String SHARED_PREFERENCES_KEY_IS_NOTICE_GROUP = SHARED_PREFERENCES_FILE_NAME + "_not_disturb_group";

        /*聊天相关配置*/

    public static final String ACTION_GROUP_CHANAGED = "action_group_changed";
    public static final String ACTION_CONTACT_CHANAGED = "action_contact_changed";

    public static final String IM_KEY_STORE_NOTICE = "门店消息";                                   //IM中门店消息的KEY
    public static final String IM_KEY_SYSTEM_NOTICE = "系统消息";                                   //IM中系统消息的KEY
    public static final String IM_KEY_SYSTEM_TIPS = "袋鼠小秘书";                                   //IM中袋鼠小秘书的KEY
    public static final String IM_KEY_PUSH_NOTICE = "推送消息";                                   //IM中门店消息的KEY


    public final static String URL_LOGIN = "/adm/sysapp/login";//登录
    public final static String OWN_ABOUT = "/adm/sysapp/about";//关于我们
    public final static String UPDATE_PASSWD = "/adm/sysapp/updatePasswd";//修改密码
    public final static String UPDATE_ADMIN_INFO = "/adm/sysapp/updateAdmInfo";//修改昵称
    public final static String REQ_SMS_CODE_RESET = "/adm/sysapp/reqSmsCodeReset";//系统管理员请求重置验证码
    public final static String RESET_PASSWORD_BY_SMS = "/adm/sysapp/resetPasswdSms";//系统管理员短信重置密码
    //    public final static String URL_LOGIN = "/adm/sysapp/login";
//    public final static String OWN_ABOUT = "/adm/sysapp/about";
//    public final static String UPDATE_PASSWD = "/adm/sysapp/updatePasswd";
//    public final static String UPDATE_ADMIN_INFO = "/adm/sysapp/updateAdmInfo";
    public static final String SYS_USER_INFO_STORES = "/adm/sysapp/user/info/stores";                               //车主通讯录
    public static final String SYS_USER_INFO_OWNERLIST = "/adm/sysapp/user/info/ownerList";                         //会员列表
    public static final String SYS_USER_INFO_OWNERINFO = "/adm/sysapp/user/info/ownerInfo";                         //会员详情
    public static final String SYS_USER_INFO_DTOREEMPS = "/adm/sysapp/user/info/storeEmps";                         //员工结构
    public static final String SYS_USER_INFO_DTOREEMPSINFO = "/adm/sysapp/user/info/storeEmpInfo";                  //员工详情


    //首页接口
    public static final String SYS_HOME = "/adm/sysapp/statistics/home";//首页统计
    public static final String SYS_ORDER_LIST = "/adm/sysapp/order/orders";//订单列表
    public static final String SYS_ORDER_DETAIL = "/adm/sysapp/order/orderInfo";//订单详情
    public static final String SYS_ORDER_DELIVER_DETAIL = "/adm/sysapp/order/deliverGoods";//发货详情
    public static final String SYS_ORDER_DELIVER = "/adm/sysapp/order/shipOrder";//发货


    //intent参数
    public static final String IM_IS_SHOEW_DIALOG = "isShowDialog";

    // RXBUS CODE
    public static final int RXBUS_CODE_REFRESH_MESSAGE = 0X0101;
    public static final int RXBUS_CODE_READ_MESSAGE = 0X0102;
}
